package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.BaseObjectBean;
import cn.xfdzx.android.apps.shop.bean.BuyOftenGoodsBeen;
import cn.xfdzx.android.apps.shop.bean.PosterBeen;
import cn.xfdzx.android.apps.shop.bean.UserInfoBean;
import cn.xfdzx.android.apps.shop.contract.FeedBackContract;
import cn.xfdzx.android.apps.shop.contract.MyInterestGoodContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;
import retrofit2.http.Query;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class MyInterestGoodModel implements MyInterestGoodContract.Model {



    @Override
    public Flowable<BuyOftenGoodsBeen> myInterestGood(String index_status, String page, String limit) {
        return RetrofitClient.getInstance().getApi().buyOftenGoods(index_status, page,  limit );
    }

    @Override
    public Flowable<UserInfoBean> getUserinfo(String sales_model) {
        return RetrofitClient.getInstance().getApi().getUserinfo(sales_model);
    }

    @Override
    public Flowable<PosterBeen> getPoster( ) {
        return RetrofitClient.getInstance().getApi().poster( );
    }


}
